public class Line {
    int x;
    
    int y;
    
    Line(int posX, int posY) {
        super();
        this/*Line*/.x = posX;
        this/*Line*/.y = posY;
    }
    
    void drawLine(int posX, int posY) {
        setX(posX);
        setY(posY); }
    
    void setX(int posX) { this/*Line*/.x = posX; }
    
    void setY(int posY) { this/*Line*/.y = posY; }
}
